// Place your Spring DSL code here

import org.codehaus.groovy.grails.commons.ApplicationHolder;


beans = {




		
		stitchesClient(org.authsum.stitches.services.StitchesService_Service) {
		}
		
		stitchesService(stitchesClient) { bean ->
	        bean.factoryMethod = "getStitchesServiceHttpPort"
	        bean.singleton = true
	    }
		helper(org.authsum.stitches.Helper) {
			stitchesService = ref("stitchesService")
		}

		
		stitchesPropertyHolder(org.authsum.stitches.main.StitchesPropertyHolder) {
			gmapKey = ApplicationHolder.application.config.stitches.gmapkey; 
		}
		
		wicketApplication(org.authsum.stitches.wicket.WicketApplication) {
			stitchesPropertyHolder = ref("stitchesPropertyHolder")
		}
		
		

	
	
}